Set shrext to ".dylib" for Darwin (ie. Mac OS).
authorKevin Cozens <kcozens@src.gnome.org>
Mon, 11 Feb 2008 20:10:32 +0000 (20:10 +0000)
committerKevin Cozens <kcozens@src.gnome.org>
Mon, 11 Feb 2008 20:10:32 +0000 (20:10 +0000)
* configure.ac: Set shrext to ".dylib" for Darwin (ie. Mac OS).

* babl/babl-extension.c: Use BABL_DIR_SEPARATOR instead of "/".

svn path=/trunk/; revision=277

ChangeLog
babl/babl-extension.c
configure.ac

index 2f0d55e75a2a3506374f5db94cb139a64e2f33bb..6ba1b87402629e7da52d5e45c4b5a4108c95f3d5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-02-11  Kevin Cozens  <kcozens@cvs.gnome.org>
+
+       * configure.ac: Set shrext to ".dylib" for Darwin (ie. Mac OS).
+
+       * babl/babl-extension.c: Use BABL_DIR_SEPARATOR instead of "/".
+
 2008-01-22  Sven Neumann  <sven@gimp.org>
 
        * extensions/gimp-8bit.c (u8_gamma_2_2_to_float_linear): use the
index 47da01cf996abd16ec097a309b9b0c88dd82dca1..3d512cd762e150fe648b3e241bfd9dd2c967cf0e 100644 (file)
@@ -22,7 +22,7 @@
 #include "config.h"
 #endif
 
-#define BABL_PATH              LIBDIR "/" BABL_LIBRARY
+#define BABL_PATH              LIBDIR BABL_DIR_SEPARATOR BABL_LIBRARY
 
 #define BABL_INIT_HOOK         init_hook ();
 #define BABL_DESTROY_HOOK      destroy_hook ();
index d42489de4366c208fd81fd79a1603cac31ff422e..3c1ed862a53f391b9d1630c5d39fa0c6d6229bcc 100644 (file)
@@ -161,6 +161,10 @@ esac
 
 AC_MSG_CHECKING([for some Win32 platform])
 case "$target_or_host" in 
+  *-*-darwin*)
+    platform_win32=no
+    shrext=.dylib
+    ;;
   *-*-mingw* | *-*-cygwin*)
     platform_win32=yes
     shrext=.dll